package com.typy.www.tpay.ui.acitivity;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.typy.www.tpay.R;
import com.typy.www.tpay.base.BaseBackActivity;
import com.typy.www.tpay.util.ClassHoldUtil;
import com.typy.www.tpay.util.listviewanimations.IntentUtil;

/**
 * Created by 13799 on 2018/6/18.
 */

public class TurnOutActivity extends BaseBackActivity {

    public static void show(Context context){
        IntentUtil.intent2Activity(context,TurnOutActivity.class);
    }
    public static void show(Context context, String data,String phone) {
        Intent intent = new Intent();
        intent.putExtra("data", data);
        intent.putExtra("phone", phone);
        IntentUtil.intent2Activity(context, intent, ActivicationSecontActivity.class);
    }
    @Override
    protected void initView() {
        super.initView();
        setTitle("转出");
        ((TextView)mBtnRight).setText("转出记录");
        mBtnRight.setVisibility(View.VISIBLE);
    }

    @Override
    protected int getContentResId() {
        return R.layout.activity_activication;
    }

    @Override
    protected void onRightButtonClick() {
        super.onRightButtonClick();
        RecordActivity.show(getActivity(), ClassHoldUtil.TurnOutRecord);
    }
}
